home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 13713 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.5 KB

  1. Path: news3.digex.net!usenet
  2. From: bablank@access.digex.net (Bruce Blank)
  3. Newsgroups: comp.lang.c++
  4. Subject: VC 4.0 Link Errors - Can Someone Help Me Resolve, Please
  5. Date: 27 Mar 1996 01:33:55 GMT
  6. Organization: Express Access Online Communications, USA
  7. Message-ID: <4ja5u3$qh8@news3.digex.net>
  8. NNTP-Posting-Host: dcd00222.slip.digex.net
  9. Mime-Version: 1.0
  10. X-Newsreader: WinVN 0.99.2
  11.  
  12. Hello All,
  13.  
  14.      I am a new Windows 95 user and am using Visual C++ 4.0 for the first 
  15. time. I'm trying to compile and link a program that uses the IShellLink 
  16. interface. I get the following linker errors:
  17.  
  18. --------------------Configuration: getsgdat - Win32 
  19. Debug--------------------
  20. Compiling...
  21. getsgdat.cpp
  22. Linking...
  23. getsgdat.obj : error LNK2001: unresolved external symbol 
  24. __imp__CoInitialize@4
  25. getsgdat.obj : error LNK2001: unresolved external symbol _IID_IPersistFile
  26. getsgdat.obj : error LNK2001: unresolved external symbol 
  27. __imp__CoCreateInstance@20
  28. Debug/getsgdat.exe : fatal error LNK1120: 3 unresolved externals
  29. Error executing link.exe.
  30. getsgdat.exe - 4 error(s), 0 warning(s)
  31.  
  32. I am not a "C" or "C++" guru (yet) and am not sure what I need to do to 
  33. resolve these errors. Can anyone please help? Thanks in advance.
  34.  
  35. Regards... Bruce Blank
  36.  
  37. ======================================================
  38. * Bruce Arlan Blank                                  *
  39. * -------------------------------------------------- *
  40. * email: bablank@access.digex.net                    *
  41. * WWW page: http://www.access.digex.net:80/~bablank/ *
  42. ======================================================
  43.  
  44.